package com.liveneo.adapter.base.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 查勘定损任务表 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmLossItemExample {
    protected String         orderByClause;
    protected boolean        distinct;
    protected List<Criteria> oredCriteria;

    public PrpmLossItemExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 查勘定损任务表
     * 数据库表：prpm_loss_item
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("Uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("Uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("Uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("Uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("Uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("Uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("Uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("Uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("Uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("Uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("Uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("Uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("Uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("Uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNull() {
            addCriterion("CaseUuid is null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNotNull() {
            addCriterion("CaseUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidEqualTo(String value) {
            addCriterion("CaseUuid =", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotEqualTo(String value) {
            addCriterion("CaseUuid <>", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThan(String value) {
            addCriterion("CaseUuid >", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThanOrEqualTo(String value) {
            addCriterion("CaseUuid >=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThan(String value) {
            addCriterion("CaseUuid <", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThanOrEqualTo(String value) {
            addCriterion("CaseUuid <=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLike(String value) {
            addCriterion("CaseUuid like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotLike(String value) {
            addCriterion("CaseUuid not like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIn(List<String> values) {
            addCriterion("CaseUuid in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotIn(List<String> values) {
            addCriterion("CaseUuid not in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidBetween(String value1, String value2) {
            addCriterion("CaseUuid between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotBetween(String value1, String value2) {
            addCriterion("CaseUuid not between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNull() {
            addCriterion("CaseNo is null");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNotNull() {
            addCriterion("CaseNo is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNoEqualTo(String value) {
            addCriterion("CaseNo =", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotEqualTo(String value) {
            addCriterion("CaseNo <>", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThan(String value) {
            addCriterion("CaseNo >", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("CaseNo >=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThan(String value) {
            addCriterion("CaseNo <", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThanOrEqualTo(String value) {
            addCriterion("CaseNo <=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLike(String value) {
            addCriterion("CaseNo like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotLike(String value) {
            addCriterion("CaseNo not like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoIn(List<String> values) {
            addCriterion("CaseNo in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotIn(List<String> values) {
            addCriterion("CaseNo not in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoBetween(String value1, String value2) {
            addCriterion("CaseNo between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotBetween(String value1, String value2) {
            addCriterion("CaseNo not between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andLossNameIsNull() {
            addCriterion("LossName is null");
            return (Criteria) this;
        }

        public Criteria andLossNameIsNotNull() {
            addCriterion("LossName is not null");
            return (Criteria) this;
        }

        public Criteria andLossNameEqualTo(String value) {
            addCriterion("LossName =", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotEqualTo(String value) {
            addCriterion("LossName <>", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameGreaterThan(String value) {
            addCriterion("LossName >", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameGreaterThanOrEqualTo(String value) {
            addCriterion("LossName >=", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameLessThan(String value) {
            addCriterion("LossName <", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameLessThanOrEqualTo(String value) {
            addCriterion("LossName <=", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameLike(String value) {
            addCriterion("LossName like", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotLike(String value) {
            addCriterion("LossName not like", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameIn(List<String> values) {
            addCriterion("LossName in", values, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotIn(List<String> values) {
            addCriterion("LossName not in", values, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameBetween(String value1, String value2) {
            addCriterion("LossName between", value1, value2, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotBetween(String value1, String value2) {
            addCriterion("LossName not between", value1, value2, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNull() {
            addCriterion("LossType is null");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNotNull() {
            addCriterion("LossType is not null");
            return (Criteria) this;
        }

        public Criteria andLossTypeEqualTo(Byte value) {
            addCriterion("LossType =", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotEqualTo(Byte value) {
            addCriterion("LossType <>", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThan(Byte value) {
            addCriterion("LossType >", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("LossType >=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThan(Byte value) {
            addCriterion("LossType <", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThanOrEqualTo(Byte value) {
            addCriterion("LossType <=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeIn(List<Byte> values) {
            addCriterion("LossType in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotIn(List<Byte> values) {
            addCriterion("LossType not in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeBetween(Byte value1, Byte value2) {
            addCriterion("LossType between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("LossType not between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeIsNull() {
            addCriterion("LossPageType is null");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeIsNotNull() {
            addCriterion("LossPageType is not null");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeEqualTo(Byte value) {
            addCriterion("LossPageType =", value, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeNotEqualTo(Byte value) {
            addCriterion("LossPageType <>", value, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeGreaterThan(Byte value) {
            addCriterion("LossPageType >", value, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("LossPageType >=", value, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeLessThan(Byte value) {
            addCriterion("LossPageType <", value, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeLessThanOrEqualTo(Byte value) {
            addCriterion("LossPageType <=", value, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeIn(List<Byte> values) {
            addCriterion("LossPageType in", values, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeNotIn(List<Byte> values) {
            addCriterion("LossPageType not in", values, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeBetween(Byte value1, Byte value2) {
            addCriterion("LossPageType between", value1, value2, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossPageTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("LossPageType not between", value1, value2, "lossPageType");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNull() {
            addCriterion("LossId is null");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNotNull() {
            addCriterion("LossId is not null");
            return (Criteria) this;
        }

        public Criteria andLossIdEqualTo(String value) {
            addCriterion("LossId =", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotEqualTo(String value) {
            addCriterion("LossId <>", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThan(String value) {
            addCriterion("LossId >", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThanOrEqualTo(String value) {
            addCriterion("LossId >=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThan(String value) {
            addCriterion("LossId <", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThanOrEqualTo(String value) {
            addCriterion("LossId <=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLike(String value) {
            addCriterion("LossId like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotLike(String value) {
            addCriterion("LossId not like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdIn(List<String> values) {
            addCriterion("LossId in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotIn(List<String> values) {
            addCriterion("LossId not in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdBetween(String value1, String value2) {
            addCriterion("LossId between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotBetween(String value1, String value2) {
            addCriterion("LossId not between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossStatusIsNull() {
            addCriterion("LossStatus is null");
            return (Criteria) this;
        }

        public Criteria andLossStatusIsNotNull() {
            addCriterion("LossStatus is not null");
            return (Criteria) this;
        }

        public Criteria andLossStatusEqualTo(Integer value) {
            addCriterion("LossStatus =", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusNotEqualTo(Integer value) {
            addCriterion("LossStatus <>", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusGreaterThan(Integer value) {
            addCriterion("LossStatus >", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("LossStatus >=", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusLessThan(Integer value) {
            addCriterion("LossStatus <", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusLessThanOrEqualTo(Integer value) {
            addCriterion("LossStatus <=", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusIn(List<Integer> values) {
            addCriterion("LossStatus in", values, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusNotIn(List<Integer> values) {
            addCriterion("LossStatus not in", values, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusBetween(Integer value1, Integer value2) {
            addCriterion("LossStatus between", value1, value2, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("LossStatus not between", value1, value2, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeIsNull() {
            addCriterion("SurveyUnitCode is null");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeIsNotNull() {
            addCriterion("SurveyUnitCode is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeEqualTo(String value) {
            addCriterion("SurveyUnitCode =", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeNotEqualTo(String value) {
            addCriterion("SurveyUnitCode <>", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeGreaterThan(String value) {
            addCriterion("SurveyUnitCode >", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyUnitCode >=", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeLessThan(String value) {
            addCriterion("SurveyUnitCode <", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeLessThanOrEqualTo(String value) {
            addCriterion("SurveyUnitCode <=", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeLike(String value) {
            addCriterion("SurveyUnitCode like", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeNotLike(String value) {
            addCriterion("SurveyUnitCode not like", value, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeIn(List<String> values) {
            addCriterion("SurveyUnitCode in", values, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeNotIn(List<String> values) {
            addCriterion("SurveyUnitCode not in", values, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeBetween(String value1, String value2) {
            addCriterion("SurveyUnitCode between", value1, value2, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitCodeNotBetween(String value1, String value2) {
            addCriterion("SurveyUnitCode not between", value1, value2, "surveyUnitCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeIsNull() {
            addCriterion("SurveyUnitNme is null");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeIsNotNull() {
            addCriterion("SurveyUnitNme is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeEqualTo(String value) {
            addCriterion("SurveyUnitNme =", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeNotEqualTo(String value) {
            addCriterion("SurveyUnitNme <>", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeGreaterThan(String value) {
            addCriterion("SurveyUnitNme >", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyUnitNme >=", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeLessThan(String value) {
            addCriterion("SurveyUnitNme <", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeLessThanOrEqualTo(String value) {
            addCriterion("SurveyUnitNme <=", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeLike(String value) {
            addCriterion("SurveyUnitNme like", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeNotLike(String value) {
            addCriterion("SurveyUnitNme not like", value, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeIn(List<String> values) {
            addCriterion("SurveyUnitNme in", values, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeNotIn(List<String> values) {
            addCriterion("SurveyUnitNme not in", values, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeBetween(String value1, String value2) {
            addCriterion("SurveyUnitNme between", value1, value2, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyUnitNmeNotBetween(String value1, String value2) {
            addCriterion("SurveyUnitNme not between", value1, value2, "surveyUnitNme");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeIsNull() {
            addCriterion("SurveyorCode is null");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeIsNotNull() {
            addCriterion("SurveyorCode is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeEqualTo(String value) {
            addCriterion("SurveyorCode =", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotEqualTo(String value) {
            addCriterion("SurveyorCode <>", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeGreaterThan(String value) {
            addCriterion("SurveyorCode >", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyorCode >=", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeLessThan(String value) {
            addCriterion("SurveyorCode <", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeLessThanOrEqualTo(String value) {
            addCriterion("SurveyorCode <=", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeLike(String value) {
            addCriterion("SurveyorCode like", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotLike(String value) {
            addCriterion("SurveyorCode not like", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeIn(List<String> values) {
            addCriterion("SurveyorCode in", values, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotIn(List<String> values) {
            addCriterion("SurveyorCode not in", values, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeBetween(String value1, String value2) {
            addCriterion("SurveyorCode between", value1, value2, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotBetween(String value1, String value2) {
            addCriterion("SurveyorCode not between", value1, value2, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameIsNull() {
            addCriterion("SurveyorName is null");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameIsNotNull() {
            addCriterion("SurveyorName is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameEqualTo(String value) {
            addCriterion("SurveyorName =", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotEqualTo(String value) {
            addCriterion("SurveyorName <>", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameGreaterThan(String value) {
            addCriterion("SurveyorName >", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyorName >=", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameLessThan(String value) {
            addCriterion("SurveyorName <", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameLessThanOrEqualTo(String value) {
            addCriterion("SurveyorName <=", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameLike(String value) {
            addCriterion("SurveyorName like", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotLike(String value) {
            addCriterion("SurveyorName not like", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameIn(List<String> values) {
            addCriterion("SurveyorName in", values, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotIn(List<String> values) {
            addCriterion("SurveyorName not in", values, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameBetween(String value1, String value2) {
            addCriterion("SurveyorName between", value1, value2, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotBetween(String value1, String value2) {
            addCriterion("SurveyorName not between", value1, value2, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("Mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("Mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("Mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("Mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("Mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("Mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("Mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("Mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("Mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("Mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("Mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("Mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("Mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("Mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andContactIsNull() {
            addCriterion("Contact is null");
            return (Criteria) this;
        }

        public Criteria andContactIsNotNull() {
            addCriterion("Contact is not null");
            return (Criteria) this;
        }

        public Criteria andContactEqualTo(String value) {
            addCriterion("Contact =", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotEqualTo(String value) {
            addCriterion("Contact <>", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThan(String value) {
            addCriterion("Contact >", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThanOrEqualTo(String value) {
            addCriterion("Contact >=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThan(String value) {
            addCriterion("Contact <", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThanOrEqualTo(String value) {
            addCriterion("Contact <=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLike(String value) {
            addCriterion("Contact like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotLike(String value) {
            addCriterion("Contact not like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactIn(List<String> values) {
            addCriterion("Contact in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotIn(List<String> values) {
            addCriterion("Contact not in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactBetween(String value1, String value2) {
            addCriterion("Contact between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotBetween(String value1, String value2) {
            addCriterion("Contact not between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNull() {
            addCriterion("ContactPhone is null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNotNull() {
            addCriterion("ContactPhone is not null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneEqualTo(String value) {
            addCriterion("ContactPhone =", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotEqualTo(String value) {
            addCriterion("ContactPhone <>", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThan(String value) {
            addCriterion("ContactPhone >", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("ContactPhone >=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThan(String value) {
            addCriterion("ContactPhone <", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThanOrEqualTo(String value) {
            addCriterion("ContactPhone <=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLike(String value) {
            addCriterion("ContactPhone like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotLike(String value) {
            addCriterion("ContactPhone not like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIn(List<String> values) {
            addCriterion("ContactPhone in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotIn(List<String> values) {
            addCriterion("ContactPhone not in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneBetween(String value1, String value2) {
            addCriterion("ContactPhone between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotBetween(String value1, String value2) {
            addCriterion("ContactPhone not between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIsNull() {
            addCriterion("DelegateReamrk is null");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIsNotNull() {
            addCriterion("DelegateReamrk is not null");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkEqualTo(String value) {
            addCriterion("DelegateReamrk =", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotEqualTo(String value) {
            addCriterion("DelegateReamrk <>", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkGreaterThan(String value) {
            addCriterion("DelegateReamrk >", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkGreaterThanOrEqualTo(String value) {
            addCriterion("DelegateReamrk >=", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLessThan(String value) {
            addCriterion("DelegateReamrk <", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLessThanOrEqualTo(String value) {
            addCriterion("DelegateReamrk <=", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLike(String value) {
            addCriterion("DelegateReamrk like", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotLike(String value) {
            addCriterion("DelegateReamrk not like", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIn(List<String> values) {
            addCriterion("DelegateReamrk in", values, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotIn(List<String> values) {
            addCriterion("DelegateReamrk not in", values, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkBetween(String value1, String value2) {
            addCriterion("DelegateReamrk between", value1, value2, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotBetween(String value1, String value2) {
            addCriterion("DelegateReamrk not between", value1, value2, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeIsNull() {
            addCriterion("EndCaseTime is null");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeIsNotNull() {
            addCriterion("EndCaseTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeEqualTo(Date value) {
            addCriterion("EndCaseTime =", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeNotEqualTo(Date value) {
            addCriterion("EndCaseTime <>", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeGreaterThan(Date value) {
            addCriterion("EndCaseTime >", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EndCaseTime >=", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeLessThan(Date value) {
            addCriterion("EndCaseTime <", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeLessThanOrEqualTo(Date value) {
            addCriterion("EndCaseTime <=", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeIn(List<Date> values) {
            addCriterion("EndCaseTime in", values, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeNotIn(List<Date> values) {
            addCriterion("EndCaseTime not in", values, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeBetween(Date value1, Date value2) {
            addCriterion("EndCaseTime between", value1, value2, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeNotBetween(Date value1, Date value2) {
            addCriterion("EndCaseTime not between", value1, value2, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeIsNull() {
            addCriterion("FinishCaseTime is null");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeIsNotNull() {
            addCriterion("FinishCaseTime is not null");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeEqualTo(Date value) {
            addCriterion("FinishCaseTime =", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeNotEqualTo(Date value) {
            addCriterion("FinishCaseTime <>", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeGreaterThan(Date value) {
            addCriterion("FinishCaseTime >", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FinishCaseTime >=", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeLessThan(Date value) {
            addCriterion("FinishCaseTime <", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeLessThanOrEqualTo(Date value) {
            addCriterion("FinishCaseTime <=", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeIn(List<Date> values) {
            addCriterion("FinishCaseTime in", values, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeNotIn(List<Date> values) {
            addCriterion("FinishCaseTime not in", values, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeBetween(Date value1, Date value2) {
            addCriterion("FinishCaseTime between", value1, value2, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeNotBetween(Date value1, Date value2) {
            addCriterion("FinishCaseTime not between", value1, value2, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("Flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("Flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("Flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("Flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("Flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("Flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("Flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("Flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("Flag like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("Flag not like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<String> values) {
            addCriterion("Flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<String> values) {
            addCriterion("Flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("Flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("Flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table prpm_loss_item
     *
     * @mbggenerated do_not_delete_during_merge Mon Jun 13 15:18:50 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * 查勘定损任务表
     * 数据库表：prpm_loss_item
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String  condition;
        private Object  value;
        private Object  secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String  typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}